﻿#ifndef X2EWIDGET_H
#define X2EWIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class X2EWidget; }
QT_END_NAMESPACE

class X2EWidget : public QWidget
{
    Q_OBJECT

public:
    X2EWidget(QWidget *parent = nullptr);
    ~X2EWidget();

private:
    /**
     * @brief loadXml 测试加载XML
     */
    void loadXml();

    /**
     * @brief loadXlsx 测试加载Execl文件
     */
    void loadXlsx();

    bool excelToXml(const QString &xlsxPath, const QString &xmlPath);

private:
    Ui::X2EWidget *ui;
};
#endif // X2EWIDGET_H
